gtk4.git
15 years agoDo not initialize RC subsystem.
Carlos Garnacho [Sat, 13 Nov 2010 18:54:37 +0000 (19:54 +0100)]
Do not initialize RC subsystem.

15 years agoGtkStyleProperties: Use GParamSpec for properties registration.
Carlos Garnacho [Sat, 13 Nov 2010 18:53:36 +0000 (19:53 +0100)]
GtkStyleProperties: Use GParamSpec for properties registration.

15 years agoGtkCssProvider: Docs fix for -gtk-gradient() syntax.
Carlos Garnacho [Sat, 13 Nov 2010 12:27:37 +0000 (13:27 +0100)]
GtkCssProvider: Docs fix for -gtk-gradient() syntax.

15 years agoHandle looping transition animations.
Carlos Garnacho [Sat, 13 Nov 2010 12:24:18 +0000 (13:24 +0100)]
Handle looping transition animations.

15 years agoGtkCssProvider: Handle better wrong enum/flag values.
Carlos Garnacho [Sat, 13 Nov 2010 11:44:55 +0000 (12:44 +0100)]
GtkCssProvider: Handle better wrong enum/flag values.

15 years agoGtkCssProviders: Parse GTypeFlags based values.
Carlos Garnacho [Sat, 13 Nov 2010 11:36:24 +0000 (12:36 +0100)]
GtkCssProviders: Parse GTypeFlags based values.

15 years agoGtkCssProvider: Add initial unit parsing logic
Carlos Garnacho [Sat, 13 Nov 2010 02:55:21 +0000 (03:55 +0100)]
GtkCssProvider: Add initial unit parsing logic

At the moment only "px" are supported, and such is the default
value when no unit is specified.

15 years agoGtkCssProvider: Handle the "none" keyword to unset properties.
Carlos Garnacho [Sat, 13 Nov 2010 01:30:53 +0000 (02:30 +0100)]
GtkCssProvider: Handle the "none" keyword to unset properties.

15 years agoGtkStyleContext: Resolve symbolic colors for widget style properties.
Carlos Garnacho [Sat, 13 Nov 2010 01:18:11 +0000 (02:18 +0100)]
GtkStyleContext: Resolve symbolic colors for widget style properties.

15 years agoGtkStyleProperties: Handle GdkColor types.
Carlos Garnacho [Sat, 13 Nov 2010 00:25:07 +0000 (01:25 +0100)]
GtkStyleProperties: Handle GdkColor types.

Just in case.

15 years agoGtkCssProvider: Also parse GdkColor values
Carlos Garnacho [Sat, 13 Nov 2010 00:24:07 +0000 (01:24 +0100)]
GtkCssProvider: Also parse GdkColor values

This is necessary for widget style properties to work.

15 years agoGtkCssProvider: Add lighter/darker color functions.
Carlos Garnacho [Fri, 12 Nov 2010 22:59:22 +0000 (23:59 +0100)]
GtkCssProvider: Add lighter/darker color functions.

These behave the same than in GtkStyle.

15 years agoGtkCssProvider: allow color names from rgb.txt when parsing colors.
Carlos Garnacho [Fri, 12 Nov 2010 21:59:21 +0000 (22:59 +0100)]
GtkCssProvider: allow color names from rgb.txt when parsing colors.

15 years agoGtkStyleContext: Add #define's for the default properties.
Carlos Garnacho [Fri, 12 Nov 2010 21:48:29 +0000 (22:48 +0100)]
GtkStyleContext: Add #define's for the default properties.

15 years agoDocument missing GtkStateType values.
Carlos Garnacho [Fri, 12 Nov 2010 20:46:55 +0000 (21:46 +0100)]
Document missing GtkStateType values.

The documentation has also moved to gtkenums.h.

15 years agoRemove GTK_STATE_LAST.
Carlos Garnacho [Fri, 12 Nov 2010 20:44:48 +0000 (21:44 +0100)]
Remove GTK_STATE_LAST.

It didn't turn out to be that useful, nor widely used.

15 years agoUse the correct cairo-gobject.h include path.
Carlos Garnacho [Fri, 12 Nov 2010 20:43:13 +0000 (21:43 +0100)]
Use the correct cairo-gobject.h include path.

15 years agoAdd gtk_render_icon_pixbuf() function to docs.
Carlos Garnacho [Fri, 12 Nov 2010 18:31:04 +0000 (19:31 +0100)]
Add gtk_render_icon_pixbuf() function to docs.

15 years agoAdd GtkStyleContext migration docs.
Carlos Garnacho [Fri, 12 Nov 2010 18:28:51 +0000 (19:28 +0100)]
Add GtkStyleContext migration docs.

15 years agoGtkThemingEngine: Document missing class vmethods.
Carlos Garnacho [Tue, 9 Nov 2010 20:48:49 +0000 (21:48 +0100)]
GtkThemingEngine: Document missing class vmethods.

15 years agoGtkButton: Use GtkStyleContext for rendering.
Carlos Garnacho [Tue, 9 Nov 2010 20:33:10 +0000 (21:33 +0100)]
GtkButton: Use GtkStyleContext for rendering.

15 years agoGtkWindow: Use GtkStyleContext for rendering.
Carlos Garnacho [Tue, 9 Nov 2010 20:26:52 +0000 (21:26 +0100)]
GtkWindow: Use GtkStyleContext for rendering.

15 years agoGtkStyleContext: Add gtk_style_context_set_background().
Carlos Garnacho [Tue, 9 Nov 2010 20:24:41 +0000 (21:24 +0100)]
GtkStyleContext: Add gtk_style_context_set_background().

This function replaces gtk_style_set_background().

15 years agoGtkWidget: Update pango context from style context's font description.
Carlos Garnacho [Tue, 9 Nov 2010 17:31:39 +0000 (18:31 +0100)]
GtkWidget: Update pango context from style context's font description.

15 years agoGtkWidget: Ensure the style context always has an screen.
Carlos Garnacho [Tue, 9 Nov 2010 17:28:38 +0000 (18:28 +0100)]
GtkWidget: Ensure the style context always has an screen.

Things like font settings depend on the screen, and widgets
like GtkTextView trigger queries on widgets without screen
when the parent window is being destroyed.

15 years agoAdd CSS class defines for toolbars and docks.
Carlos Garnacho [Tue, 9 Nov 2010 17:27:36 +0000 (18:27 +0100)]
Add CSS class defines for toolbars and docks.

15 years agoGtkStyle: translate a few more detail strings.
Carlos Garnacho [Tue, 9 Nov 2010 17:27:13 +0000 (18:27 +0100)]
GtkStyle: translate a few more detail strings.

15 years agoGtkCssProvider: theme progressbars in default CSS.
Carlos Garnacho [Tue, 9 Nov 2010 17:26:39 +0000 (18:26 +0100)]
GtkCssProvider: theme progressbars in default CSS.

15 years agoGtkThemingEngine: ensure 1px wide frames aren't painted between pixels.
Carlos Garnacho [Mon, 8 Nov 2010 19:17:17 +0000 (20:17 +0100)]
GtkThemingEngine: ensure 1px wide frames aren't painted between pixels.

15 years agoGtkThemingEngine: Use square cap for solid frames.
Carlos Garnacho [Mon, 8 Nov 2010 19:15:19 +0000 (20:15 +0100)]
GtkThemingEngine: Use square cap for solid frames.

15 years agoGtkThemingEngine: ensure that background isn't rendered past the frame boundaries.
Carlos Garnacho [Mon, 8 Nov 2010 19:12:15 +0000 (20:12 +0100)]
GtkThemingEngine: ensure that background isn't rendered past the frame boundaries.

15 years agoGtkThemingEngine: Get rid of obsolete code for tooltips.
Carlos Garnacho [Mon, 8 Nov 2010 11:48:29 +0000 (12:48 +0100)]
GtkThemingEngine: Get rid of obsolete code for tooltips.

15 years agoGtkStyleContext: Fix check for GtkIconSize in render_icon_pixbuf().
Carlos Garnacho [Mon, 8 Nov 2010 11:39:28 +0000 (12:39 +0100)]
GtkStyleContext: Fix check for GtkIconSize in render_icon_pixbuf().

15 years agoGtkStyleContext: restore widget state too in restore().
Carlos Garnacho [Mon, 8 Nov 2010 01:53:12 +0000 (02:53 +0100)]
GtkStyleContext: restore widget state too in restore().

15 years agoGtkCssProvider: Do not miss the last class name in concatenated classes.
Carlos Garnacho [Mon, 8 Nov 2010 01:51:53 +0000 (02:51 +0100)]
GtkCssProvider: Do not miss the last class name in concatenated classes.

Selectors like .menu.check or .entry.progressbar were being misparsed
and attributed to .menu and .entry.

15 years agoGtkStyle: transform window background detail string.
Carlos Garnacho [Mon, 8 Nov 2010 01:30:39 +0000 (02:30 +0100)]
GtkStyle: transform window background detail string.

15 years agoGtkStyle: Transform menubar detail string.
Carlos Garnacho [Mon, 8 Nov 2010 01:15:06 +0000 (02:15 +0100)]
GtkStyle: Transform menubar detail string.

15 years agoGtkStyle: Transform menu accelerators string
Carlos Garnacho [Mon, 8 Nov 2010 00:52:25 +0000 (01:52 +0100)]
GtkStyle: Transform menu accelerators string

15 years agoGtkStyleContext: Define some more class names.
Carlos Garnacho [Mon, 8 Nov 2010 00:30:02 +0000 (01:30 +0100)]
GtkStyleContext: Define some more class names.

15 years agoRemove GTK_REGION_DEFAULT
Carlos Garnacho [Sat, 6 Nov 2010 11:40:15 +0000 (12:40 +0100)]
Remove GTK_REGION_DEFAULT

GTK_STYLE_CLASS_DEFAULT is preferred to match a default area, as
it doesn't make sense to have a per-region default.

15 years agoGtkThemingEngine: Use GtkSymbolicColor for shades.
Carlos Garnacho [Sat, 6 Nov 2010 11:38:52 +0000 (12:38 +0100)]
GtkThemingEngine: Use GtkSymbolicColor for shades.

15 years agoGtkThemingEngine: Do not require a default value when registering properties
Carlos Garnacho [Sat, 6 Nov 2010 11:37:46 +0000 (12:37 +0100)]
GtkThemingEngine: Do not require a default value when registering properties

NULL should work for 0 for int/double/enum/... types and NULL for
pointer types, this should be sane enough to not require a default
value.

15 years agoGtkSymbolicColor: Only require styleproperties when resolving named colors.
Carlos Garnacho [Sat, 6 Nov 2010 11:36:05 +0000 (12:36 +0100)]
GtkSymbolicColor: Only require styleproperties when resolving named colors.

It is not necessary for resolving colors based on literals,
so be a bit less strict here.

15 years agoGtkSymbolicColor: convert to/from hls when shading.
Carlos Garnacho [Sat, 6 Nov 2010 11:35:20 +0000 (12:35 +0100)]
GtkSymbolicColor: convert to/from hls when shading.

This makes shading equal to GtkStyle's.

15 years agoGtkSymbolicColor: Do not clamp shade/mix/alpha factors.
Carlos Garnacho [Sat, 6 Nov 2010 11:33:52 +0000 (12:33 +0100)]
GtkSymbolicColor: Do not clamp shade/mix/alpha factors.

15 years agoGtkStyleContext: Add gtk_render_icon_pixbuf()
Carlos Garnacho [Wed, 3 Nov 2010 20:14:08 +0000 (21:14 +0100)]
GtkStyleContext: Add gtk_render_icon_pixbuf()

This function is similar to gtk_style_render_icon(), which is now
implemented on top of this one.

15 years agoGtkThemingEngine: Fix compile warning.
Carlos Garnacho [Wed, 3 Nov 2010 20:12:57 +0000 (21:12 +0100)]
GtkThemingEngine: Fix compile warning.

15 years agoFix compile warning
Carlos Garnacho [Wed, 3 Nov 2010 20:10:06 +0000 (21:10 +0100)]
Fix compile warning

15 years agoGtkStatusIcon: update to use gtk_widget_override_symbolic_color().
Carlos Garnacho [Wed, 3 Nov 2010 18:27:18 +0000 (19:27 +0100)]
GtkStatusIcon: update to use gtk_widget_override_symbolic_color().

15 years agoGtkWidget: Add new set of methods to override style information.
Carlos Garnacho [Wed, 3 Nov 2010 11:21:04 +0000 (12:21 +0100)]
GtkWidget: Add new set of methods to override style information.

gtk_widget_override_*() deprecates gtk_widget_modify_*(). There are
only functions to modify fg/bg/font/symbolic color, If anything more
fancy/complex is needed. There is the possibility of adding a
GtkStyleProvider yourself.

15 years agoGtkStyle: Listen to context changes.
Carlos Garnacho [Wed, 3 Nov 2010 11:18:48 +0000 (12:18 +0100)]
GtkStyle: Listen to context changes.

This way the GtkStyle is updated to the latest style info, actually
emitting ::style-set must be performed after invalidating the style
context.

15 years agoGtkStyleContext: Add the start of a default set of class names/regions.
Carlos Garnacho [Wed, 3 Nov 2010 11:17:06 +0000 (12:17 +0100)]
GtkStyleContext: Add the start of a default set of class names/regions.

15 years agoTheming documentation fixes
Carlos Garnacho [Wed, 3 Nov 2010 11:15:49 +0000 (12:15 +0100)]
Theming documentation fixes

2 functions were not in -sections.txt, and GtkStyleSet was renamed
to GtkStyleProperties.

15 years agoGtkStyleContext: Fix merging of local and global providers.
Carlos Garnacho [Wed, 3 Nov 2010 10:40:12 +0000 (11:40 +0100)]
GtkStyleContext: Fix merging of local and global providers.

15 years agoGtkStyleProperties: Merge font descriptions on merge()
Carlos Garnacho [Wed, 3 Nov 2010 10:36:18 +0000 (11:36 +0100)]
GtkStyleProperties: Merge font descriptions on merge()

This is necessary so incomplete font descriptions are ensured to have
family and size.

15 years agoGtkSymbolicColor: Take const GdkRGBA in new_literal().
Carlos Garnacho [Wed, 3 Nov 2010 10:35:42 +0000 (11:35 +0100)]
GtkSymbolicColor: Take const GdkRGBA in new_literal().

15 years agoDocument gtk_render_* functions.
Carlos Garnacho [Mon, 1 Nov 2010 02:58:21 +0000 (03:58 +0100)]
Document gtk_render_* functions.

15 years agoAdd gtk_render_activity()
Carlos Garnacho [Mon, 1 Nov 2010 01:46:35 +0000 (02:46 +0100)]
Add gtk_render_activity()

This method will render progress bars and spinners, these should
handle active and inconsistent states' animation progress in order
to perform animations.

15 years agoGtkThemingEngine: draw resize grip through render_handle().
Carlos Garnacho [Mon, 1 Nov 2010 01:42:08 +0000 (02:42 +0100)]
GtkThemingEngine: draw resize grip through render_handle().

GtkJunctionSides is used instead of GdkWindowEdge, GtkStyle
implementation has changed to use GtkStyleContext's.

15 years agoGtkWidget: Trigger state change transitions on state flags change.
Carlos Garnacho [Mon, 1 Nov 2010 01:37:07 +0000 (02:37 +0100)]
GtkWidget: Trigger state change transitions on state flags change.

This makes state transitions automatic for non-complex widgets, complex
widgets such as GtkTreeView still need to notify state updates themselves.

15 years agoGtkToolItemGroup: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:45:41 +0000 (14:45 +0100)]
GtkToolItemGroup: Set widget state as state flags.

15 years agoGtkToggleButton: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:45:19 +0000 (14:45 +0100)]
GtkToggleButton: Set widget state as state flags.

15 years agoGtkRadioButton: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:45:01 +0000 (14:45 +0100)]
GtkRadioButton: Set widget state as state flags.

15 years agoGtkNotebook: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:44:26 +0000 (14:44 +0100)]
GtkNotebook: Set widget state as state flags.

15 years agoGtkMenuItem: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:44:09 +0000 (14:44 +0100)]
GtkMenuItem: Set widget state as state flags.

15 years agoGtkMenu: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:43:55 +0000 (14:43 +0100)]
GtkMenu: Set widget state as state flags.

15 years agoGtkExpander: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:43:37 +0000 (14:43 +0100)]
GtkExpander: Set widget state as state flags.

15 years agoGtkEntry: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:43:20 +0000 (14:43 +0100)]
GtkEntry: Set widget state as state flags.

15 years agoGtkComboBox: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:42:51 +0000 (14:42 +0100)]
GtkComboBox: Set widget state as state flags.

15 years agoGtkButton: Set widget state as state flags.
Carlos Garnacho [Sun, 31 Oct 2010 13:38:26 +0000 (14:38 +0100)]
GtkButton: Set widget state as state flags.

15 years agoImplement widget states as a set of flags
Carlos Garnacho [Sat, 30 Oct 2010 19:48:38 +0000 (21:48 +0200)]
Implement widget states as a set of flags

gtk_widget_(set|unset|get)_state_flags() has been added, using GtkStateFlags
to represent the widget state. GtkStateType API has been implemented on top
of the new one.

15 years agoDocument missing value in GtkStateFlags
Carlos Garnacho [Sat, 30 Oct 2010 17:53:43 +0000 (19:53 +0200)]
Document missing value in GtkStateFlags

15 years agos/GtkStyleSet/GtkStyleProperties/
Carlos Garnacho [Fri, 29 Oct 2010 04:47:32 +0000 (06:47 +0200)]
s/GtkStyleSet/GtkStyleProperties/

The former name had oddities such as gtk_style_set_set() and such,
so the new name is nicer in that regard and not much longer.

15 years agoGtkWidget: Ensure name changes involve a style context update.
Carlos Garnacho [Fri, 29 Oct 2010 04:01:51 +0000 (06:01 +0200)]
GtkWidget: Ensure name changes involve a style context update.

15 years agoRely only on fg/bg colors.
Carlos Garnacho [Fri, 29 Oct 2010 03:33:38 +0000 (05:33 +0200)]
Rely only on fg/bg colors.

"foreground-color" has been renamed to just "color" as in regular CSS,
and the "text-color" and "base-color" properties have been removed. The
default CSS has been changed to have widgets cope with this change.

15 years agoGtkCssProvider: Fix parsing of concatenated classes.
Carlos Garnacho [Fri, 29 Oct 2010 03:30:36 +0000 (05:30 +0200)]
GtkCssProvider: Fix parsing of concatenated classes.

Now selectors such as:

 GtkWidget#name.class1.class2
 #name.class1.class2
 .class1.class2

are parsed correctly, being meaningful for a widget defining several
classes.

15 years agoGtkThemingEngine: Use ::name when registering style props.
Carlos Garnacho [Wed, 27 Oct 2010 21:23:14 +0000 (23:23 +0200)]
GtkThemingEngine: Use ::name when registering style props.

15 years agoGtkThemingEngine: Add ::name construct only property
Carlos Garnacho [Mon, 25 Oct 2010 22:43:20 +0000 (00:43 +0200)]
GtkThemingEngine: Add ::name construct only property

This property is to be set by theming engines, the name set will be favored
over the object type name when registering custom properties, making possible
something like:

-Clearlooks-border: blah;

15 years agoGtkStyleSet: Prevent from possible underflow.
Carlos Garnacho [Mon, 25 Oct 2010 22:16:22 +0000 (00:16 +0200)]
GtkStyleSet: Prevent from possible underflow.

15 years agoGtkCssProvider: Parse alpha() symbolic colors.
Carlos Garnacho [Mon, 25 Oct 2010 18:44:15 +0000 (20:44 +0200)]
GtkCssProvider: Parse alpha() symbolic colors.

The "alpha" symbolic color modifies a passed color's alpha by a factor,
the syntax would accept things like:

background-color: alpha (@bg_color, 0.8);
foreground-color: alpha (shade (@fg_color, 0.8), 0.5);

15 years agoGtkSymbolicColor: Add gtk_symbolic_color_new_alpha()
Carlos Garnacho [Mon, 25 Oct 2010 18:41:36 +0000 (20:41 +0200)]
GtkSymbolicColor: Add gtk_symbolic_color_new_alpha()

This function modifies the alpha channel of a color, multiplying
it by a factor.

15 years agoGtkCssProvider: Make default style depend more on custom colors.
Carlos Garnacho [Mon, 25 Oct 2010 11:55:56 +0000 (13:55 +0200)]
GtkCssProvider: Make default style depend more on custom colors.

15 years agoGtkStyle: Get to style GtkCellRendererText text.
Carlos Garnacho [Mon, 25 Oct 2010 11:55:18 +0000 (13:55 +0200)]
GtkStyle: Get to style GtkCellRendererText text.

15 years agoGtkThemingEngine: render 0-radius frames with 3D-like 45° corner effect
Carlos Garnacho [Mon, 25 Oct 2010 08:24:15 +0000 (10:24 +0200)]
GtkThemingEngine: render 0-radius frames with 3D-like 45° corner effect

15 years agoGtkThemingEngine: Clear the background for .background class
Carlos Garnacho [Sat, 23 Oct 2010 22:04:34 +0000 (00:04 +0200)]
GtkThemingEngine: Clear the background for .background class

15 years agoGtkStyle: translate active state in paint_flat_box().
Carlos Garnacho [Sat, 23 Oct 2010 20:51:58 +0000 (22:51 +0200)]
GtkStyle: translate active state in paint_flat_box().

15 years agoGtkCssProvider: Update end string when misparsing symbolic colors.
Carlos Garnacho [Sat, 23 Oct 2010 20:24:57 +0000 (22:24 +0200)]
GtkCssProvider: Update end string when misparsing symbolic colors.

15 years agoGtkCssProvider: Allow '\t' when parsing values.
Carlos Garnacho [Sat, 23 Oct 2010 19:40:49 +0000 (21:40 +0200)]
GtkCssProvider: Allow '\t' when parsing values.

15 years agoGtkSymbolicColor: Initialize alpha when resolving shades.
Carlos Garnacho [Sat, 23 Oct 2010 19:40:20 +0000 (21:40 +0200)]
GtkSymbolicColor: Initialize alpha when resolving shades.

15 years agoGtkThemingEngine: Improve rendering of inset/outset borders.
Carlos Garnacho [Sat, 23 Oct 2010 16:33:07 +0000 (18:33 +0200)]
GtkThemingEngine: Improve rendering of inset/outset borders.

15 years agoGtkCssProvider: Improve default CSS.
Carlos Garnacho [Sat, 23 Oct 2010 16:32:15 +0000 (18:32 +0200)]
GtkCssProvider: Improve default CSS.

15 years agoGtkStyle: Handle scrollbar buttons.
Carlos Garnacho [Sat, 23 Oct 2010 16:25:18 +0000 (18:25 +0200)]
GtkStyle: Handle scrollbar buttons.

15 years agoDo not shade alpha values.
Carlos Garnacho [Sat, 23 Oct 2010 16:24:14 +0000 (18:24 +0200)]
Do not shade alpha values.

15 years agoGtkStyle: Match "trough" and "slider" detail strings.
Carlos Garnacho [Fri, 22 Oct 2010 21:59:58 +0000 (23:59 +0200)]
GtkStyle: Match "trough" and "slider" detail strings.

This is so scrollbars can be themed throught the "trough" and
"slider" classes.

15 years agoUse GdkRGBA all around in GtkStyleContext.
Carlos Garnacho [Fri, 22 Oct 2010 10:41:19 +0000 (12:41 +0200)]
Use GdkRGBA all around in GtkStyleContext.

15 years agoGtkStyleSet: Register the border-style and border-color properties
Carlos Garnacho [Fri, 22 Oct 2010 08:38:21 +0000 (10:38 +0200)]
GtkStyleSet: Register the border-style and border-color properties

This is also implemented in the theming engine, although the default
CSS should be using it in order to theme buttons, troughs, sliders
and such.

15 years agoGtkStyleContext: '_' prefix the structs, gtk-doc prefers this.
Carlos Garnacho [Wed, 20 Oct 2010 17:52:50 +0000 (19:52 +0200)]
GtkStyleContext: '_' prefix the structs, gtk-doc prefers this.

15 years agoGtkWidgetPath: turn into a boxed type.
Carlos Garnacho [Wed, 20 Oct 2010 17:33:39 +0000 (19:33 +0200)]
GtkWidgetPath: turn into a boxed type.

15 years agoGtkStyleContext: s/set/add/ and s/unset/remove/ for classes/regions.
Carlos Garnacho [Wed, 20 Oct 2010 17:02:41 +0000 (19:02 +0200)]
GtkStyleContext: s/set/add/ and s/unset/remove/ for classes/regions.

Several classes and regions may be set to GtkStyleContext, so rename
the functions to be more intuitive.

15 years agoGtkThemingEngine: Honor border-radius in render_background().
Carlos Garnacho [Wed, 20 Oct 2010 16:47:28 +0000 (18:47 +0200)]
GtkThemingEngine: Honor border-radius in render_background().